package org.blog.service;

import org.blog.helper.Result;
import org.blog.model.ModelPassport;
import org.blog.model.ModelUserInfo;

public interface UserInfoService {

	/**
	 * 添加用户信息
	 * @param t
	 * @param passport
	 * @return
	 */
	public Result<?> addUserInfo(ModelUserInfo t,ModelPassport passport);
	
	/**
	 * 修改用户信息
	 * @param t
	 * @param passport
	 * @return
	 */
	public Result<?> modifyUserInfo(ModelUserInfo t,ModelPassport passport);

	/**
	 * 获取用户信息
	 * @param t
	 */
	public Result<ModelUserInfo> getUserInfo(ModelPassport passport);
}
